let aKeywords = localStorage['hk'] ? JSON.parse(localStorage['hk']) : [];
function keywordsReducer(state={keywords: aKeywords},action){
    switch (action.type) {
        case "addHk":
            return Object.assign({},state,action.data);
        default:
            return state;
    }
}
export default keywordsReducer;